import unittest

from api.base.sys.user.importExcel import ImportExcel

imp = ImportExcel()


class Import_Excel(unittest.TestCase):
    """批量导入用户的case类"""
    def setUp(self):
        pass

    def test_01_import_excel(self):
        a = imp.import_user('./import_private.xlsx')
        self.assertEqual(a['success'], True, '断言失败！')


if __name__ == '__main__':
    unittest.main()
